home *** CD-ROM | disk | FTP | other *** search
- #include <ak/qual.h>
- #define DO_QUAL() qual_analyse(qual_arr,argv,&argc,usage,1)
- #define CLEANUP_QUAL()
- #define Q_QUIET 0
- #define Q_DATAPEN 1
- #define Q_SELECTPEN 2
- #define Q_BACKPEN 3
- #define Q_OTHERPEN 4
- #define Q_C0 5
- #define Q_C1 6
- #define Q_C2 7
- #define Q_C3 8
- #define Q_FNAME 9
- #define Q_FSIZE 10
- #define Q_NULLCHAR 11
- #define Q_HEX 12
- #define Q_LEFTJUST 13
- #define Q_BYTEMOVE 14
- #define Q_INHIBIT 15
- Static bool Quiet=false;
- Static long DataPen=1;
- Static long SelectPen=3;
- Static long BackPen=0;
- Static long OtherPen=2;
- Static ushort ColTbl0=0x046;
- Static ushort ColTbl1=0x000;
- Static ushort ColTbl2=0x009;
- Static ushort ColTbl3=0x0bb;
- Static char FontName[25+1]="topaz.font";
- Static uword FontSize=8;
- Static char NullChar='.';
- Static bool Hex=true;
- Static bool Left=false;
- Static bool ByteMove=false;
- Static bool Inhibit=false;
- Static QUAL qual_arr[]={
- 1,"QUIET",typ_logical,(char *)&Quiet,0,0,NULL,0x0,0x0,0,0,0,
- 1,"DATAPEN",typ_long,(char *)&DataPen,0,3,NULL,0x0,0x0,0,0,0,
- 1,"SELECTPEN",typ_long,(char *)&SelectPen,0,3,NULL,0x0,0x0,0,0,0,
- 1,"BACKPEN",typ_long,(char *)&BackPen,0,3,NULL,0x0,0x0,0,0,0,
- 1,"OTHERPEN",typ_long,(char *)&OtherPen,0,3,NULL,0x0,0x0,0,0,0,
- 1,"C0",typ_ushort,(char *)&ColTbl0,0x000,0xfff,NULL,0x0,0x0,0,0,ATT_HEX,
- 2,"C1",typ_ushort,(char *)&ColTbl1,0x000,0xfff,NULL,0x0,0x0,0,0,ATT_HEX,
- 2,"C2",typ_ushort,(char *)&ColTbl2,0x000,0xfff,NULL,0x0,0x0,0,0,ATT_HEX,
- 2,"C3",typ_ushort,(char *)&ColTbl3,0x000,0xfff,NULL,0x0,0x0,0,0,ATT_HEX,
- 1,"FNAME",typ_string,FontName,1,25,NULL,0x0,0x0,0,0,0,
- 2,"FSIZE",typ_uword,(char *)&FontSize,1,19,NULL,0x0,0x0,0,0,0,
- 1,"NULLCHAR",typ_char,&NullChar,0,0,NULL,0x0,0x0,0,0,0,
- 1,"HEX",typ_logical,(char *)&Hex,0,0,NULL,0x0,0x0,0,0,0,
- 1,"LEFTJUST",typ_logical,(char *)&Left,0,0,NULL,0x0,0x0,0,0,0,
- 2,"BYTEMOVE",typ_logical,(char *)&ByteMove,0,0,NULL,0x0,0x0,0,0,0,
- 1,"INHIBIT",typ_logical,(char *)&Inhibit,0,0,NULL,0x0,0x0,0,0,0,
- 0,NULL};
- Static char usage[]="Device";
-